<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>PaleGem: pgGameApp Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PaleGem
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="classpg_game_app-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pgGameApp Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_pale_gem_8h_source.html">PaleGem.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for pgGameApp:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpg_game_app.png" usemap="#pgGameApp_map" alt=""/>
  <map id="pgGameApp_map" name="pgGameApp_map">
<area href="class_i_game_app.html" alt="IGameApp" shape="rect" coords="0,0,164,24"/>
<area href="class_i_event_listener.html" title="Holds the OnEvent function." alt="IEventListener" shape="rect" coords="174,0,338,24"/>
<area href="class_t_singleton.html" alt="TSingleton&lt; pgGameApp &gt;" shape="rect" coords="348,0,512,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad726289a0cbd24f7a235b32a039243bb"><td class="memItemLeft" align="right" valign="top">HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#ad726289a0cbd24f7a235b32a039243bb">pgInit</a> (HINSTANCE hInstance, int cmdShow, LPCWSTR lpGameTitle)</td></tr>
<tr class="separator:ad726289a0cbd24f7a235b32a039243bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2f6b5f7ad07ba942ec903c80b53b177"><td class="memItemLeft" align="right" valign="top">HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#aa2f6b5f7ad07ba942ec903c80b53b177">pgExit</a> ()</td></tr>
<tr class="separator:aa2f6b5f7ad07ba942ec903c80b53b177"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a993e2889625c8e208ab4e781214a1356"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#a993e2889625c8e208ab4e781214a1356">pgDoMessageLoop</a> ()</td></tr>
<tr class="separator:a993e2889625c8e208ab4e781214a1356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae419d74a227c8454614c5d270e5c8457"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#ae419d74a227c8454614c5d270e5c8457">OnEvent</a> (<a class="el" href="struct_i_event.html">IEvent</a> *eEvent)</td></tr>
<tr class="memdesc:ae419d74a227c8454614c5d270e5c8457"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by the event manager.  <a href="#ae419d74a227c8454614c5d270e5c8457">More...</a><br/></td></tr>
<tr class="separator:ae419d74a227c8454614c5d270e5c8457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00234f0dbb78971fd9bbecd4c78dbd0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#a00234f0dbb78971fd9bbecd4c78dbd0d">HandleException</a> (<a class="el" href="_i_game_app_8h.html#a11415b43ebb41a1fc4aa64954609c347">PG_ERROR</a> error)</td></tr>
<tr class="separator:a00234f0dbb78971fd9bbecd4c78dbd0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa9d8b27e4db0d2e21b628314fa02b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#a8aa9d8b27e4db0d2e21b628314fa02b4">HandleExceptionCustom</a> (const char *formattedMessage, int returnCode,...)</td></tr>
<tr class="separator:a8aa9d8b27e4db0d2e21b628314fa02b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a285d25b9ea33509fbdfa453a668a505b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#a285d25b9ea33509fbdfa453a668a505b">pgCheckForMultipleInstances</a> (LPCWSTR lpGameTitle)</td></tr>
<tr class="separator:a285d25b9ea33509fbdfa453a668a505b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad525bd35af01de7c670283938dc96a92"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#ad525bd35af01de7c670283938dc96a92">pgCheckHardDiskSpace</a> (const DWORDLONG spaceNeeded)</td></tr>
<tr class="separator:ad525bd35af01de7c670283938dc96a92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a204a09efa24c10cd06efea283edc0fea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#a204a09efa24c10cd06efea283edc0fea">pgCheckRAM</a> (const DWORDLONG spaceNeeded)</td></tr>
<tr class="separator:a204a09efa24c10cd06efea283edc0fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae3b69ea176264fc68470c208c20040e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#aae3b69ea176264fc68470c208c20040e">pgCheckAvailRAM</a> (const DWORDLONG spaceNeeded)</td></tr>
<tr class="separator:aae3b69ea176264fc68470c208c20040e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_event_listener"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_event_listener')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_i_event_listener.html">IEventListener</a></td></tr>
<tr class="memitem:a4d6ddb3ba50a87727aed9d530fe7d200 inherit pub_methods_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a4d6ddb3ba50a87727aed9d530fe7d200">IEventListener</a> ()</td></tr>
<tr class="separator:a4d6ddb3ba50a87727aed9d530fe7d200 inherit pub_methods_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81170264da18c0e9d62c7ca9c3dc57af inherit pub_methods_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a81170264da18c0e9d62c7ca9c3dc57af">~IEventListener</a> ()</td></tr>
<tr class="separator:a81170264da18c0e9d62c7ca9c3dc57af inherit pub_methods_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_t_singleton"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_t_singleton')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_t_singleton.html">TSingleton&lt; pgGameApp &gt;</a></td></tr>
<tr class="memitem:aa74fc1711fbe920e55e82929158ae796 inherit pub_methods_class_t_singleton"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_singleton.html#aa74fc1711fbe920e55e82929158ae796">~TSingleton</a> ()</td></tr>
<tr class="separator:aa74fc1711fbe920e55e82929158ae796 inherit pub_methods_class_t_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a9131d428bb57a4e5f8d6cd66b1a740e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#a9131d428bb57a4e5f8d6cd66b1a740e1">PreInit</a> ()</td></tr>
<tr class="separator:a9131d428bb57a4e5f8d6cd66b1a740e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58330dabebf21ffb461ac0b91da1b9e"><td class="memItemLeft" align="right" valign="top">HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_game_app.html#ad58330dabebf21ffb461ac0b91da1b9e">CreateGameWindow</a> (HINSTANCE hInstance, int cmdShow)</td></tr>
<tr class="separator:ad58330dabebf21ffb461ac0b91da1b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_t_singleton"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_t_singleton')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_t_singleton.html">TSingleton&lt; pgGameApp &gt;</a></td></tr>
<tr class="memitem:ad34b50d44153d55f27468a8e89a7c169 inherit pub_static_methods_class_t_singleton"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classpg_game_app.html">pgGameApp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_singleton.html#ad34b50d44153d55f27468a8e89a7c169">Get</a> ()</td></tr>
<tr class="separator:ad34b50d44153d55f27468a8e89a7c169 inherit pub_static_methods_class_t_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af895e9843c190ec41f0e79cb20ef40ff inherit pub_static_methods_class_t_singleton"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_singleton.html#af895e9843c190ec41f0e79cb20ef40ff">Del</a> ()</td></tr>
<tr class="separator:af895e9843c190ec41f0e79cb20ef40ff inherit pub_static_methods_class_t_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_i_event_listener"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_i_event_listener')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_i_event_listener.html">IEventListener</a></td></tr>
<tr class="memitem:a646584657e48f3ee78d7389f97cf8ebd inherit pub_attribs_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a646584657e48f3ee78d7389f97cf8ebd">id</a></td></tr>
<tr class="memdesc:a646584657e48f3ee78d7389f97cf8ebd inherit pub_attribs_class_i_event_listener"><td class="mdescLeft">&#160;</td><td class="mdescRight">The id of a listener instance.  <a href="#a646584657e48f3ee78d7389f97cf8ebd">More...</a><br/></td></tr>
<tr class="separator:a646584657e48f3ee78d7389f97cf8ebd inherit pub_attribs_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_i_event_listener"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_i_event_listener')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_i_event_listener.html">IEventListener</a></td></tr>
<tr class="memitem:a0c128e3ba3d9510a57966480a47b2780 inherit pub_static_attribs_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a0c128e3ba3d9510a57966480a47b2780">numInstances</a> = 0</td></tr>
<tr class="memdesc:a0c128e3ba3d9510a57966480a47b2780 inherit pub_static_attribs_class_i_event_listener"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to distribute ids of listeners.  <a href="#a0c128e3ba3d9510a57966480a47b2780">More...</a><br/></td></tr>
<tr class="separator:a0c128e3ba3d9510a57966480a47b2780 inherit pub_static_attribs_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_t_singleton"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_t_singleton')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_t_singleton.html">TSingleton&lt; pgGameApp &gt;</a></td></tr>
<tr class="memitem:a9a42afc8426786c52d3ede545d481c74 inherit pro_static_attribs_class_t_singleton"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classpg_game_app.html">pgGameApp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_singleton.html#a9a42afc8426786c52d3ede545d481c74">m_pInstance</a></td></tr>
<tr class="separator:a9a42afc8426786c52d3ede545d481c74 inherit pro_static_attribs_class_t_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad58330dabebf21ffb461ac0b91da1b9e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HRESULT pgGameApp::CreateGameWindow </td>
          <td>(</td>
          <td class="paramtype">HINSTANCE&#160;</td>
          <td class="paramname"><em>hInstance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cmdShow</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a00234f0dbb78971fd9bbecd4c78dbd0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pgGameApp::HandleException </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_i_game_app_8h.html#a11415b43ebb41a1fc4aa64954609c347">PG_ERROR</a>&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8aa9d8b27e4db0d2e21b628314fa02b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pgGameApp::HandleExceptionCustom </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>formattedMessage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>returnCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae419d74a227c8454614c5d270e5c8457"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgGameApp::OnEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_i_event.html">IEvent</a> *&#160;</td>
          <td class="paramname"><em>eEvent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called by the event manager. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eEvent</td><td>Passed by the event manager. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="struct_i_event.html" title="Event structure.">IEvent</a> </dd></dl>

<p>Implements <a class="el" href="class_i_event_listener.html#a40210b0cc287ec611c2e05eebb8964aa">IEventListener</a>.</p>

</div>
</div>
<a class="anchor" id="aae3b69ea176264fc68470c208c20040e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgGameApp::pgCheckAvailRAM </td>
          <td>(</td>
          <td class="paramtype">const DWORDLONG&#160;</td>
          <td class="paramname"><em>spaceNeeded</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_game_app.html#a06997a52ea001520a0f98502cf079281">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="a285d25b9ea33509fbdfa453a668a505b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgGameApp::pgCheckForMultipleInstances </td>
          <td>(</td>
          <td class="paramtype">LPCWSTR&#160;</td>
          <td class="paramname"><em>lpGameTitle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_game_app.html#a72eda84ddba282ba040fbfb0d13e2c22">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="ad525bd35af01de7c670283938dc96a92"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgGameApp::pgCheckHardDiskSpace </td>
          <td>(</td>
          <td class="paramtype">const DWORDLONG&#160;</td>
          <td class="paramname"><em>spaceNeeded</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><em>unsigned</em>/ _int64 const neededClusters = spaceNeeded / (diskfree.sectors_per_cluster * diskfree.bytes_per_sector); </p>

<p>Implements <a class="el" href="class_i_game_app.html#a0eb45131a201f89ca477431bc23751f4">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="a204a09efa24c10cd06efea283edc0fea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgGameApp::pgCheckRAM </td>
          <td>(</td>
          <td class="paramtype">const DWORDLONG&#160;</td>
          <td class="paramname"><em>spaceNeeded</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_game_app.html#abfc5ddcaef238b97a522992340194372">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="a993e2889625c8e208ab4e781214a1356"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgGameApp::pgDoMessageLoop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_game_app.html#a67a1982022dc8aa00b39ad3e07389419">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="aa2f6b5f7ad07ba942ec903c80b53b177"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HRESULT pgGameApp::pgExit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_game_app.html#ac12041193bb9cb3c899183e117c9729d">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="ad726289a0cbd24f7a235b32a039243bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HRESULT pgGameApp::pgInit </td>
          <td>(</td>
          <td class="paramtype">HINSTANCE&#160;</td>
          <td class="paramname"><em>hInstance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cmdShow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPCWSTR&#160;</td>
          <td class="paramname"><em>lpGameTitle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_i_game_app.html#a55e8eab71ff254c22e2175fb9261c0e3">IGameApp</a>.</p>

</div>
</div>
<a class="anchor" id="a9131d428bb57a4e5f8d6cd66b1a740e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgGameApp::PreInit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Inc/<a class="el" href="_pale_gem_8h_source.html">PaleGem.h</a></li>
<li>Source/<a class="el" href="_pale_gem_8cpp.html">PaleGem.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Feb 26 2013 15:22:27 for PaleGem by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
